<?$path=$_SERVER['REQUEST_URI'];
// Вынес в Widget.
/* @see \Managers\Widget\PopularNews */
// $popularnews=$this->popular();

$now = new \DateTime();
$antiCacheParam = (int) ($now->format('i') / 10);

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<base href="<?php echo $this->baseUrl() ?>">
<title>Russianexpress</title>

<META http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link rel="stylesheet" href="/css/bootstrap.css" type="text/css">
<link rel="stylesheet" href="/css/index.css?1<?php echo $antiCacheParam ?>" type="text/css">
<link rel="stylesheet" href="/css/jquery.rating.css" type="text/css">
<link rel="stylesheet" href="/css/paginator.css?2" type="text/css">
<link media="all" type="text/css" href="/js/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet">

<!--<link rel="stylesheet" href="/css/token-input.css" type="text/css" media="screen"/>-->
<link rel="alternate" type="application/rss+xml" title="RSS" href="<? echo $this->baseUrl() ?>rss" />

<script type="text/javascript" src="/js/jquery1.7.js"></script>
<script type="text/javascript" src="/js/jquery.rating.pack.js"></script>
<script type="text/javascript" src="/js/jquery.validate.min.js"></script>
<!--<script type="text/javascript" src="/js/jquery-1.6.2.min.js"></script>-->
<script type="text/javascript" src="/js/jquery-ui-1.8.11.custom.min.js"></script>
<script type="text/javascript" src="/js/search-widget.js"></script>
<script type="text/javascript" src="/js/mobilyslider.js"></script>
<script type="text/javascript" src="/js/main.js?1<?php echo $antiCacheParam ?>"></script>
<script type="text/javascript" src="/js/bootstrap.js"></script>
<script type="text/javascript" src="/bookflipjs/bookflip.js"></script>
<script type="text/javascript" src="/js/ui.js"></script>
<script type="text/javascript" src="/js/zoom/mousewheel.js"></script>
<script type="text/javascript" src="/js/zoom/zoom.js"></script>


</head>

<body>

<div class="container">
    <div class="main-header">
                <?=$this->partial('/main/shapka.phtml'); ?>
                <?=$this->partial('/main/menu.phtml'); ?>
                <?if ($path=='/news'):?>
                    <?=$this->partial('/main/rubrics.phtml',array('rubrics'=>$this->rubrics)); ?>
                <?endif?>
    </div>


<div class="row" style="margin-top: 10px;">
    <div class="span9">
        <?if ($path=='/'):?>
                <?=$this->partial('/main/rotator.phtml',array('topnews'=>$this->topnews)); ?>
       <?endif?>

        <?php echo $this->partial('/common/messages.phtml', array('messages' => $this->messages)) ?>

        <?= $this->layout()->content ?>
    </div>
    <div class="span3">
<!--            --><?php //echo $this->partial('/common/auth.phtml') ?>
            <?php echo $this->partial('/common/banners.phtml') ?>
            <?php echo $this->partial('/common/widgets.phtml', array('widgets' => $this->widgets)) ?>

        </div>
    </div>
</div>
</div>
</body>
</html>
